/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.app.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 优惠券实体类
 *
 * @author BladeX
 * @since 2020-10-11
 */
@Data
@TableName("gdiu_coupons")
@ApiModel(value = "Coupons对象", description = "优惠券")
public class Coupons implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 工单ID
     */
    @ApiModelProperty(value = "工单ID")
    private Long id;
    /**
     * 优惠券标题
     */
    @ApiModelProperty(value = "优惠券标题")
    private String title;
    /**
     * 优惠券金额
     */
    @ApiModelProperty(value = "优惠券金额")
    private BigDecimal discountprice;
    /**
     * 优惠券
     */
    @ApiModelProperty(value = "优惠券")
    private Date expiredate;
    /**
     * 归属商家
     */
    @ApiModelProperty(value = "归属商家")
    private Long userid;
    /**
     * 1:正常 2:已使用
     */
    @ApiModelProperty(value = "1:正常 2:已使用")
    private Integer delflag;
    private Date ctime;


}
